﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin.NET.Application.Request;

/// <summary>
/// 资讯列表请求类
/// </summary>
public class ListNewsInput : BasePageInput {

    /// <summary>
    /// 资讯标题
    /// </summary> 
    public string Title { get; set; }

    /// <summary>
    /// 副标题
    /// </summary> 
    public string SubTitle { get; set; }

    /// <summary>
    /// 资讯内容
    /// </summary> 
    public string Content { get; set; }

    /// <summary>
    /// 分类
    /// </summary> 
    public string Category { get; set; }

    /// <summary>
    /// 封面图地址
    /// </summary> 
    public string CoverImageUrl { get; set; }

    /// <summary>
    /// 来源
    /// </summary> 
    public string Source { get; set; }

    /// <summary>
    /// 作者
    /// </summary> 
    public string Author { get; set; }

    /// <summary>
    /// 发布时间
    /// </summary> 
    public DateTime PublishTime { get; set; }

    /// <summary>
    /// 最后更新时间
    /// </summary> 
    public DateTime LastUpdatedTime { get; set; }

    /// <summary>
    /// 是否发布
    /// </summary> 
    public string IsPublished { get; set; }

    /// <summary>
    /// 是否置顶
    /// </summary> 
    public string IsPinned { get; set; }

    /// <summary>
    /// 浏览次数
    /// </summary> 
    public int ViewCount { get; set; }

    /// <summary>
    /// 点赞数
    /// </summary> 
    public int LikeCount { get; set; }

    /// <summary>
    /// 摘要
    /// </summary> 
    public string Summary { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary> 
    public DateTime CreateTime { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary> 
    public DateTime UpdateTime { get; set; }

    /// <summary>
    /// 创建者Id
    /// </summary> 
    public long CreateUserId { get; set; }

    /// <summary>
    /// 创建者姓名
    /// </summary> 
    public string CreateUserName { get; set; }

    /// <summary>
    /// 修改者Id
    /// </summary> 
    public long UpdateUserId { get; set; }

    /// <summary>
    /// 修改者姓名
    /// </summary> 
    public string UpdateUserName { get; set; }
    /// <summary>
    /// 是否启用
    /// </summary>
    public bool? IsEnabled { get;   set; }
}
